package org.example.design.Factory.abstractfactory;

import org.example.design.Factory.IPc;
import org.example.design.Factory.IPhone;
import org.example.design.Factory.Pc;
import org.example.design.Factory.Phone;

/**
 * @Auther:Liu
 * @Testname:Ifactory
 * @Date:2025/8/15 10:56
 */
public class IFactory extends AbstractFactory {
    @Override
    public Phone createPhone() {
        return new IPhone();
    }

    @Override
    public Pc createPc() {
        return new IPc();
    }
}
